home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypertxt / msdos / hyprvx11 / define < prev    next >
Text File  |  1990-11-03  |  6KB  |  159 lines

  1. DEFINE
  2.  
  3. Defines a key to execute a MAIL command. This enables you to press a key
  4. to enter a command instead of typing the command name.
  5.  
  6. Format:        DEFINE/KEY key-name string
  7.  
  8.                Any keypad keys that you define during a MAIL session disappear
  9.                when you EXIT from MAIL. To retain keypad definitions, create 
  10.                a file in your top-level directory containing the desired
  11.                key definitions (for example, MAIL$KEYDEF.INI). Enter the
  12.                following line in your LOGIN.COM:
  13.  
  14.                     $DEFINE MAIL$INIT SYS$LOGIN:MAIL$KEYDEF.INI
  15.  
  16.                                                    See also: <KEYPAD>
  17.  
  18. Parameters:    key-name
  19.  
  20.                Specifies the name of the key you are defining. Use the
  21.                following key-names when defining keys:
  22.  
  23.       Key-name            VT100     VT52        LK201
  24.  
  25.       PF1                 PF1       red key     PF1
  26.       PF2                 PF2       blue key    PF2
  27.       PF3                 PF3       black key   PF3
  28.       PF4                 PF4       -           PF4
  29.       KP0, KP1-KP9        keypad 0-9            keypad 0-9
  30.       PERIOD              period key            period key
  31.       COMMA               comma key comma key   comma key
  32.       MINUS               minus key minus key   minus key
  33.       ENTER               ENTER key ENTER key   ENTER key
  34.       UP,DOWN,LEFT,RIGHT  arrow keys            arrow keys
  35.       FIND,INSERT_HERE    -         -           Find,Insert Here
  36.       REMOVE,SELECT       -         -           Remove,Select
  37.       PREV_SCREEN         -         -           Previous Screen
  38.       NEXT_SCREEN         -         -           Next Screen
  39.       HELP,DO             -         -           Help, Do
  40.       F6-F10,F11-F14      -         -           Function Keys
  41.       F17-F20             -         -           Function Keys
  42.  
  43.  
  44.               string
  45.  
  46.               Specifies the string you want entered when you press the
  47.               defined key. "String" can be a MAIL command, for example,
  48.               DIRECTORY or SET FILE.
  49.  
  50.  
  51.  
  52. Qualifiers:   /ECHO
  53.  
  54.               /NOECHO
  55.               Specifies whether or not the command line is echoed after you
  56.               press the defined key. You cannot define a key specifying
  57.               both /NOECHO and /NOTERMINATE. The default is /ECHO.
  58.  
  59.  
  60.               /IF_STATE
  61.  
  62.               /[NO]IF_STATE=state_list
  63.  
  64.               Specifies a list of states, any one of which must be set in
  65.               order to enable the specified key definition. If you omit or
  66.               negate this qualifier, the current state prevails.
  67.  
  68.  
  69.  
  70.               /LOCK_STATE
  71.  
  72.               /[NO]LOCK_STATE
  73.  
  74.               Retains the state specified by the /SET_STATE qualifier until
  75.               you use the /SET_STATE qualifier again to change it. The default
  76.               is /NOLOCK_STATE.
  77.  
  78.  
  79.               /LOG      
  80.                     
  81.               /[NO]LOG
  82.  
  83.               Specifies whether or not informational messages are displayed.    
  84.  
  85.               These messages signal successfully created key definitions. 
  86.               The default is /LOG.
  87.  
  88.  
  89.               /SET_STATE
  90.  
  91.               /[NO]SET_STATE
  92.  
  93.               Associates a state with the key you are defining. A state name
  94.               can be any alphanumeric string. If you omit or negate this
  95.               qualifier, the current state remains unchanged. You cannot 
  96.               define a key specifying both/SET_STATE and /TERMINATE.
  97.  
  98.  
  99.               /TERMINATE
  100.  
  101.               /[NO]TERMINATE
  102.  
  103.               Determines whether or not the specified command string
  104.               executes when you press the key. When you use /NOTERMINATE you
  105.               must press RETURN to execute the command string. You cannot
  106.               define a key specifying both /SET_STATE and /TERMINATE.
  107.  
  108.                     
  109.               /ECHO
  110.               /[NO]ECHO
  111.  
  112.               Specifies whether or not the command line is echoed after you
  113.               press the defined key. You cannot define a key specifying
  114.               both /NOECHO and /NOTERMINATE. The default is /ECHO.
  115.  
  116.  
  117.               /IF_STATE
  118.  
  119.               /[NO]IF_STATE=state_list
  120.  
  121.               Specifies a list of states, any one of which must be set in
  122.               order to enable the specified key definition. If you omit or
  123.               negate this qualifier, the current state prevails.
  124.  
  125.               /LOCK_STATE
  126.  
  127.               /[NO]LOCK_STATE
  128.  
  129.               Retains the state specified by the /SET_STATE qualifier until
  130.               you use the /SET_STATE qualifier again to change it. The default
  131.               is /NOLOCK_STATE.
  132.  
  133.               /LOG
  134.  
  135.               /[NO]LOG
  136.  
  137.               Specifies whether or not informational messages are displayed.     
  138.               These messages signal successfully created key definitions. 
  139.               The default is /LOG.
  140.  
  141.  
  142.               /SET_STATE
  143.  
  144.               /[NO]SET_STATE=state
  145.  
  146.               Associates a state with the key you are defining. A state name
  147.               can be any alphanumeric string. If you omit or negate this
  148.               qualifier, the current state remains unchanged. You cannot
  149.               define a key specifying both /SET_STATE and /TERMINATE.
  150.  
  151.  
  152.               /TERMINATE
  153.  
  154.               /[NO]TERMINATE
  155.  
  156.               Determines whether or not the specified command string
  157.               executes when you press the key. When you use /NOTERMINATE you
  158.               must press RETURN to execute the command string. You cannot
  159.               define a key specifying both /SET_STATE and /TERMINATE.